package com.kc.statistics.ip;

public class IPtest {
	
	public static void main(String[] args) {
		testIp();
	}
	public static  void testIp() {
		// ָ���������ݿ���ļ����������ļ���
//		IPSeeker ip = new IPSeeker("QQWry.Dat", "classpath:/");
		IPSeeker ip = new IPSeeker();
		// ����IP 58.20.43.13
		System.out.println(ip.getIPLocation("58.249.20.179").getCountry() + ":" + ip.getIPLocation("58.249.20.179").getArea());
		System.out.println(ip.getIPEntries("58.249.20.179"));
	}
}
